<template>
  <div class="wft-w-h-100">
    <img class="wft-w-h-100" :src="data.data" v-bind="attrs" v-on="events">
  </div>
</template>
<script>
import useRequestMixin from '../../../mixins/useRequest'
import useEventMixin from '../../../mixins/useEvent'
import useAttrsMixin from '../../../mixins/useAttrs'
export default {
  name: 'basicImage',
  mixins: [useRequestMixin, useEventMixin, useAttrsMixin],
  props: {
    curComp: {
      type: Object,
      required: true
    },
    data: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>
<style scoped>
.wft-w-h-100 {
  width: 100%;
  height: 100%;
}
</style>
